public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        //mySingleList.createList();
        mySingleList.addFirst(12);
        mySingleList.addFirst(23);
        mySingleList.addFirst(12);
        mySingleList.addFirst(12);
        mySingleList.addFirst(12);
        mySingleList.addLast(12);
        mySingleList.show();
        /*mySingleList.addIndex(0,5222);
        mySingleList.show();
        mySingleList.addIndex(3,666);
        mySingleList.show();
        mySingleList.addIndex(6,15223);
        mySingleList.show();
        mySingleList.remove(5222);
        mySingleList.show();*/
        mySingleList.removeAllKey(12);
        System.out.println("删除所有的12： ");
        mySingleList.show();
       /* try {
            mySingleList.addIndex(-1,258);
        } catch(IndexOutOfBounds indexOutOfBounds) {
            indexOutOfBounds.printStackTrace();
        }

        int count = mySingleList.Size();
        System.out.println(count);
        System.out.println(mySingleList.conytains(12));
        System.out.println(mySingleList.conytains(53));*/

    }
}
